﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure.StorageClient;

namespace Work
{
    public class WorkItem : TableServiceEntity
    {
        public WorkItem()
        {
            PartitionKey = "unknown";
            RowKey = string.Format("{0:10}", DateTime.Now.Ticks);
        }

        private string sender;
        public string Sender 
        {
            get{return sender;}
            set { sender = value; PartitionKey = sender; }
        }
    }
}
